//
//  main.m
//  自定义构造方法在继承中的表现
//
//  Created by wenjim on 17/9/19.
//  Copyright © 2017年 WenJim. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Student.h"

#import "Person.h"

int main(int argc, const char * argv[]) {
    
//    Student * stu = [[Student alloc]initWithAge:30 name:@"CWJ"];
    
    Student * stu = [[Student alloc]initWithAge:30 name:@"CWJ" no:2];
    
    NSLog(@"%@",stu);
    
    
    Person * p = [[Person alloc]init];
    
    p.newHeight = 23;
    
    return 0;
}
